package com.appengine.hotornot.entity;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
import javax.jdo.annotations.Version;
import javax.jdo.annotations.VersionStrategy;

@Version(strategy=VersionStrategy.VERSION_NUMBER)
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class VoitesEntity {
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Long id;
	
	@Persistent
	private String photoId;
	
	@Persistent
	private Long voites;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getPhotoId() {
		return photoId;
	}

	public void setPhotoId(String photoId) {
		this.photoId = photoId;
	}

	public Long getVoites() {
		return voites;
	}

	public void setVoites(Long voites) {
		this.voites = voites;
	}	
}
